home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 9 / AMUG BBS in a Box Volume IX (August 1993) (MacWizards).iso / Files / Prog / B-C / C++Source Code Fmtr.cpt / Src / FormatStrings.cp / FormatStrings.cp
Encoding:
Text File  |  1992-04-28  |  1.2 KB  |  128 lines  |  [TEXT/MPS ]

  1. #ifndef __FORMATSTRINGS__
  2. #include "FormatStrings.h"
  3. #endif
  4.  
  5. #ifndef __FORMATSTRINGSDEF__
  6. #include "FormatStrings.def.h"
  7. #endif
  8.  
  9. #ifndef __STRING__
  10. #include <string.h>
  11. #endif
  12.  
  13.  
  14. /*
  15. ** Define the strings gFS_ by using a macro.  This macro makes updating the
  16. ** list of format strings much easier
  17. */
  18.  
  19. #define D(x)    FormatString gFS_##x = (FormatString)FORMATSTRING_##x;
  20.  
  21. //ƒ-
  22. D(if0)
  23. D(if1)
  24. D(if2)
  25. D(if3)
  26. D(if4)
  27. D(if5)
  28. D(if6)
  29. D(if7)
  30.  
  31. D(else1)
  32. D(else3)
  33. D(else4)
  34. D(else6)
  35.  
  36. D(switch0)
  37. D(switch1)
  38. D(switch2)
  39. D(switch3)
  40. D(switch4)
  41. D(switch5)
  42. D(switch7)
  43.  
  44. D(for0)
  45. D(for1)
  46. D(for3)
  47. D(for4)
  48. D(for5)
  49. D(for6)
  50. D(for7)
  51. D(for8)
  52.  
  53. D(while0)
  54. D(while1)
  55. D(while2)
  56. D(while3)
  57. D(while4)
  58. D(while5)
  59. D(while6)
  60.  
  61. D(do0)
  62. D(do1)
  63. D(do2)
  64. D(do3)
  65. D(do4)
  66. D(do5)
  67. D(do6)
  68.  
  69. D(struct0)
  70. D(struct1)
  71. D(struct2)
  72. D(struct3)
  73. D(struct5)
  74. D(struct6)
  75. D(struct7)
  76.  
  77. D(fundef2)
  78. D(fundef3)
  79. D(fundef4)
  80. D(fundef6)
  81. D(fundef7)
  82. D(fundef8)
  83. D(fundef10)
  84. D(fundef11)
  85. D(fundef12)
  86. D(fundef13)
  87. D(fundef14)
  88.  
  89. D(decl0)
  90. D(decl1)
  91. D(decl2)
  92. D(decl3)
  93. D(decl5)
  94. D(decl6)
  95. D(decl7)
  96. D(decl8)
  97. D(decl9)
  98. D(decl10)
  99. D(decl11)
  100.  
  101. D(stmt0)
  102. D(stmt1)
  103.  
  104. D(expr1)
  105. D(expr2)
  106. D(expr3)
  107. D(expr4)
  108. D(expr5)
  109. D(expr6)
  110. D(expr7)
  111. D(expr8)
  112.  
  113. D(funcall2)
  114. D(funcall3)
  115. D(funcall4)
  116.  
  117. D(label1)
  118.  
  119. D(block1)
  120. D(block2)
  121.  
  122. D(name1)
  123.  
  124. D(goto1)
  125. D(return1)
  126. D(break1)
  127. //ƒ+
  128.